import CryptoJS from "crypto-js";
import BaseUrl from "./BaseUrl";

/**
 * 注册
 */
export default class userRegister extends BaseUrl{
    name;
    idNo;
    phoneNumber;
    address;
    userId;
    guarderIdNo;
    userPassword;
    verifyCode;
    appId;
    openId;
    channelCode="02";//微信
    authCode;

    constructor(name, idNo, phoneNumber, userPassword, verifyCode) {
        super();
        this.name = name;
        this.idNo = idNo;
        this.phoneNumber = phoneNumber;
        this.userPassword = CryptoJS.MD5(userPassword);
        this.verifyCode = verifyCode;

    }

    getParamMethod(){
        return "userRegister";
    }
}